package com.example.navigationdemo.nav.model;

import java.util.List;

/**
 * @author: tuyrt7 on 2020/9/3.
 */
public class LottieBottomBar {


    /**
     * activeColor : #ff5858
     * inActiveColor : #666666
     * normalTextSize : 10
     * selectTextSize : 10
     * selectTab : 0
     * tabs : [{"size":24,"isLottie":true,"lottieIconPath":"lottie/main.json","index":0,"pageUrl":"nav/tabs/home","title":"首页"},{"size":24,"isLottie":true,"lottiePath":"lottie/msg.json","index":1,"pageUrl":"nav/tabs/msg","title":"消息"},{"size":40,"isLottie":false,"lottiePath":"","index":2,"tintColor":"#ff5858","pageUrl":"nav/tabs/center","title":""},{"size":24,"isLottie":true,"lottieIconPath":"lottie/trade.json","index":3,"pageUrl":"nav/tabs/trade","title":"交易"},{"size":24,"isLottie":true,"lottieIconPath":"lottie/mine.json","index":4,"pageUrl":"nav/tabs/mine","title":"我的"}]
     */
    public String activeColor;
    public String inActiveColor;
    public int normalTextSize;
    public int selectTextSize;
    public int selectTab;
    public List<Tab> tabs;

    public static class Tab {
        /**
         * size : 24
         * isLottie : true
         * lottieIconPath : lottie/main.json
         * index : 0
         * pageUrl : nav/tabs/home
         * title : 首页
         * lottiePath : lottie/msg.json
         * tintColor : #ff5858
         */
        public int size;
        public boolean isLottie;
        public String lottieIconPath;
        public int index;
        public String pageUrl;
        public String title;
    }
}
